package com.jweb.core.handle;
/**
 * 请求异常信息
 * @author Yuan
 */
public class ActionException extends RuntimeException {

	private static final long serialVersionUID = 1998063243843477017L;
	private int errorCode;
	private String errorView;

	public ActionException(int errorCode) {
		this.errorCode = errorCode;
	}

	public ActionException(int errorCode, String errorView) {
		this.errorCode = errorCode;
		this.errorView = errorView;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public String getErrorView() {
		return errorView;
	}

}